<%-- 
    Document   : signup
    Created on : 1 Jul, 2013, 5:17:17 PM
    Author     : Yash
--%>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body style="background-color: antiquewhite">
        <table align="center" style="background-color:rgba(50%,30%,20%,0.5);box-shadow:0px 0px 80px white;border-radius: 0% 20% 0% 20%;">
               
        <th colspan="2"><h2 style="color:brown;text-shadow:10px 10px 3px grey">Registration!</h2></th>
        <form action="SignUpAction.do" method="POST">
            <tr>
            
                <td>
             Enter First Name :
             </td>
             <td>
             <input type="text" name="cfname"/>
             </td>
             </tr>
             <tr>
                 <td>
             Enter Last Name :
             </td>
             <td>
             <input type="text" name="clname"/>
             </td>
             </tr>
             
             
             <%--        <input type="text" name="branch"/>
             <br/>
             Enter college Name:
             <input type="text" name="college"/>
             <br/>
             Select Semester :
             <select name="semester">
                 <option value="1">1</option>
                 <option value="2">2</option>
                 <option value="3">3</option>
                 <option value="4">4</option>
                 <option value="5">5</option>
                 <option value="6">6</option>
                 <option value="7">7</option>
                 <option value="8">8</option>
             </select>
             <br/>
             --%>
             <tr>
                 <td>
             Enter Email :
             </td>
             <td>
             <input type="email" name="cemail"/>
             </td>
             </tr>
             <tr>
                 <td>
             Enter Password :
             </td>
             <td>
             <input type="password" name="cpassword"/>
             </td>
            </tr>
           <!--  enter address :
             <input type="text" name="cadd"/>
             <br/>   -->
           <tr>
               <td>
                   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                   <input type="submit" value="Submit" style="font-family: fantasy;color: brown;background-color: antiquewhite"/>
             </td>
             </tr>
             <tr>
                 <td>
                     <h3><c:out value="${sessionScope.msg}"></c:out></h3>
                     <c:remove var="msg" scope="session"></c:remove>
                     <%-- or u can put condition before print the message as
                      <c:set value="${msg!=""}"></c:set> --%>
                 </td>
             </tr>
        </form>
    </table>
    </body>
</html>
